package com.seehope.string;

public class Demo8 {

	public static void main(String[] args) {
		String str = "HelloWorld";
		String s1=str.substring(5);
		System.out.println(s1);
		String s2=str.substring(0,5);
		System.out.println(s2);

	}

}
